package com.hanhan.chargingpile.stations.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 充电站
 * </p>
 *
 * @author HanHan
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ChargingStations对象", description="充电站")
public class ChargingStations implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "维度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "充电站名字")
    private String stationName;

    @ApiModelProperty(value = "充电站类型")
    private String stationType;

    @ApiModelProperty(value = "详情")
    private String stationDetails;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "县")
    private String county;

    @ApiModelProperty(value = "详细地点")
    private String address;

    @ApiModelProperty(value = "价格单位元")
    private BigDecimal price;

    @ApiModelProperty(value = "停车费")
    private String parkingFeeDetails;

    @ApiModelProperty(value = "0:无停车费 1:有停车费")
    private Boolean haveParkingFee;

    @ApiModelProperty(value = "开放开始时间")
    private LocalTime openStartTime;

    @ApiModelProperty(value = "开放结束时间")
    private LocalTime openEndTime;

    @ApiModelProperty(value = "产品封面图")
    private String coverImg;

    @ApiModelProperty(value = "编号（分组id）")
    private String grSerialNumber;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "0:未禁用 1：禁用")
    @TableField("is_disable")
    private Boolean disable;

    @ApiModelProperty(value = "0:未删除 1:删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
